package com.example.smartf;


import com.example.smartf.mqtt.DownHandler;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;


@RunWith(SpringRunner.class)
@SpringBootTest
public class Downmqtttest {

    @Test
    public void downmqtt() throws Exception{
        DownHandler downHandler = new DownHandler();
        System.out.println(downHandler.sendDownMesg("6af6188e14aa","zzl","{\"light\":600}"));
    }
}